﻿using CRM.Authorization.Permissions;
using CRM.Enums;
using System.Collections.Generic;
using Model = CRM.Models.RuleTemplate;
namespace CRM.Models.SeedData
{
    public class RuleTemplateData : ISeedData<Model>
    {
        public IEnumerable<Model> Get()
        {
            var date = MenuData.DefaultTime;
            return new List<Model>()
                    {
                        new(Flag.FULL)
                        {
                            Id = 1,
                            Name = "FULL-超管",
                            Remark = "全部权限",
                            State=States.ENABLE,
                            Sort = 0,
                            CompanyId=1,
                            OemId=1,
                            CreatedAt=date,
                            UpdatedAt=date
                        }
                    };
        }
    }
}
